package com.smedi.ismedi.personnel.api.dto.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 树节点
 *
 * @Author jiangqinxuan
 * @Date 2021/9/9
 */
@Data
public class NodeInfoResponse {
    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "节点id")
    private String nodeId;

    @ApiModelProperty(value = "节点名称")
    private String nodeName;

    @ApiModelProperty(value = "节点类型")
    private String type;

    @ApiModelProperty(value = "子节点id")
    private List<NodeInfoResponse> children = new ArrayList<>();
}
